package com.zerone.pay.trade.service.order;

import com.acooly.core.common.facade.OrderBase;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;

/**
 * Created by fire on 2017/9/6.
 */
@Data
public class WithdrawOrder extends OrderBase {

	/**
	 * 提现流水号
	 */
	@Length(max = 64)
	@NotBlank
	private String outOrderNo;

	/**
	 * 商户号
	 */
	@NotBlank
	@Length(max = 32)
	private String merchantId;

	/**
	 * 提现金额
	 */
	@Min(1)
	private long amount;


}
